home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / G DATA AddOns2 / WebShop / _SETUP.1 / sb2frameinit.js < prev    next >
Text File  |  2001-11-22  |  976b  |  44 lines

  1. <!-- sb2frameinit Redirect and exit code  -->
  2. <!-- (c) Copyright 2001 GS Software       -->
  3. <!--                                      -->
  4. <SCRIPT language="JavaScript">
  5. <!--
  6.  
  7. if(navigator.appVersion.substring(0,1) < "4")
  8.     {
  9.         self.location.href ="index3browser.htm";
  10.     }
  11.  
  12. function GS_frameinit() {
  13.     var st = window.location.href;
  14.     var mypos = st.indexOf("?");
  15.  
  16.     if (mypos > 0) {
  17.           st=st.substr(st.indexOf('?')+1,st.length-st.indexOf('?')-1);
  18.           self.Hauptframe.location.href = st;
  19.     }
  20.  
  21.  
  22. //    if (self.location.hash != '') {
  23. //        var Path = self.Hauptframe.location.href.substring(0, self.Hauptframe.location.href.lastIndexOf('/'));
  24. //        var SubPage = self.location.hash.substring(1, self.location.hash.length);
  25. //        self.Hauptframe.location.href = Path + "/" + SubPage;
  26. //    }
  27. }
  28.  
  29.  
  30. //-->
  31. </SCRIPT>
  32.  
  33.  
  34. <SCRIPT>
  35. function GS_exit() {
  36.  
  37.   if (theBasket.length>1) {
  38.       event.returnValue = Loc_BeforeUnload;
  39.  
  40.   } 
  41. }
  42. //-->
  43. </SCRIPT>
  44.